<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>v-html指定</title>
</head>
<body>
<div id="app">
    <p v-text="content"></p>
    <p v-html="content"></p>
    <p v-html="contenthtml"></p>
</div>
<!-- 生产环境版本，优化了尺寸和速度 -->
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script type="text/javascript">
    var vue = new Vue({
        el: "#app",
        data: {
            content: "itzhouyuStudy",
            contenthtml:"<a href='https://gitee.com/joeljhou'>itzhouyuStudy</a>"
        }
    })
</script>
</body>
</html>
